//
//  TTAlertView.h
//  DataPickerView
//
//  Created by 王奎卿 on 2017/5/23.
//  Copyright © 2017年 wkq. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^alertCancel)();
typedef void(^alertSure)();

@interface TTAlertView : UIView
/** 取消*/
@property (nonatomic, copy) alertCancel cancel_block;
/** 确定*/
@property (nonatomic, copy) alertSure sure_block;

/**
 *  @param message     提示信息
 *  @param sureBlock   点击确定按钮
 *  @param cancelBlock 点击取消按钮
 */

+ (instancetype)alertViewWithTitle:(NSString *)title
                           Message:(NSString *)message
                      cancelBtnTitle:(NSString *)cancel
                        sureBtnTitle:(NSString *)sure
                        sureBtnClick:(alertSure)sureBlock
                      cancelBtnClick:(alertCancel)cancelBlock;

@end
